package ytt.small.fore.service;

import ytt.small.fore.model.po.UserToken;

/**
 * @Author: small_woods
 * @Date: 2020/6/16 21:22
 */
public interface UserTokenService {
    //根据账户生成一个token
    UserToken create(String username);

    //根据token是否存在
    UserToken selectByToken(String token);
}
